gtk4.git
18 years agoTurn on in_change while changing the filename in the entry
Federico Mena Quintero [Thu, 13 Mar 2008 00:36:42 +0000 (00:36 +0000)]
Turn on in_change while changing the filename in the entry

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19823

18 years agoUpdate some FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:36:18 +0000 (00:36 +0000)]
Update some FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19822

18 years agoWhen finding the common prefix, assert that we have the correct folder loaded
Federico Mena Quintero [Thu, 13 Mar 2008 00:35:54 +0000 (00:35 +0000)]
When finding the common prefix, assert that we have the correct folder loaded

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19821

18 years agoDiscard the completion store when we change the folder
Federico Mena Quintero [Thu, 13 Mar 2008 00:35:31 +0000 (00:35 +0000)]
Discard the completion store when we change the folder

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19820

18 years agoAdd some more FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:35:08 +0000 (00:35 +0000)]
Add some more FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19819

18 years agoRemove obsolete comments
Federico Mena Quintero [Thu, 13 Mar 2008 00:34:44 +0000 (00:34 +0000)]
Remove obsolete comments

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19818

18 years agoCancel all forms of completion at the appropriate times, not just in ::changed
Federico Mena Quintero [Thu, 13 Mar 2008 00:34:21 +0000 (00:34 +0000)]
Cancel all forms of completion at the appropriate times, not just in ::changed

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19817

18 years agoPut some more FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:33:55 +0000 (00:33 +0000)]
Put some more FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19816

18 years agoRe-create the completion store right before populating it
Federico Mena Quintero [Thu, 13 Mar 2008 00:33:31 +0000 (00:33 +0000)]
Re-create the completion store right before populating it

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19815

18 years agoPopulate the completion store when the folder is done loading
Federico Mena Quintero [Thu, 13 Mar 2008 00:32:58 +0000 (00:32 +0000)]
Populate the completion store when the folder is done loading

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19814

18 years agoRemove files_added handler
Federico Mena Quintero [Thu, 13 Mar 2008 00:32:32 +0000 (00:32 +0000)]
Remove files_added handler

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19813

18 years agoRemove files_deleted handler
Federico Mena Quintero [Thu, 13 Mar 2008 00:32:05 +0000 (00:32 +0000)]
Remove files_deleted handler

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19812

18 years agoHandle the folder being completely loaded
Federico Mena Quintero [Thu, 13 Mar 2008 00:31:38 +0000 (00:31 +0000)]
Handle the folder being completely loaded

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19811

18 years agoDebug printfs for finding the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:31:13 +0000 (00:31 +0000)]
Debug printfs for finding the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19810

18 years agoDebug printfs for the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:30:47 +0000 (00:30 +0000)]
Debug printfs for the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19809

18 years agoAutocomplete by inserting/selecting the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:30:20 +0000 (00:30 +0000)]
Autocomplete by inserting/selecting the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19808

18 years agoDebugging printfs
Federico Mena Quintero [Thu, 13 Mar 2008 00:29:55 +0000 (00:29 +0000)]
Debugging printfs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19807

18 years agoStart autocompletion in an idle so GtkEntry updates its cursor position
Federico Mena Quintero [Thu, 13 Mar 2008 00:29:30 +0000 (00:29 +0000)]
Start autocompletion in an idle so GtkEntry updates its cursor position

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19806

18 years agoRework the way autocompletion is initiated
Federico Mena Quintero [Thu, 13 Mar 2008 00:29:04 +0000 (00:29 +0000)]
Rework the way autocompletion is initiated

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19805

18 years agoFor autocompletion, consider only the text up to the cursor
Federico Mena Quintero [Thu, 13 Mar 2008 00:28:38 +0000 (00:28 +0000)]
For autocompletion, consider only the text up to the cursor

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19804

18 years agoDon't overwrite the suffix after the cursor when inserting the completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:28:12 +0000 (00:28 +0000)]
Don't overwrite the suffix after the cursor when inserting the completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19803

18 years agoSkip the cursor past the autocompleted part when requesting explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:27:46 +0000 (00:27 +0000)]
Skip the cursor past the autocompleted part when requesting explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19802

18 years agoMove the cursor to the end only if we highlight the completed match
Federico Mena Quintero [Thu, 13 Mar 2008 00:27:16 +0000 (00:27 +0000)]
Move the cursor to the end only if we highlight the completed match

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19801

18 years agoComplete even if not at the end of the text
Federico Mena Quintero [Thu, 13 Mar 2008 00:26:49 +0000 (00:26 +0000)]
Complete even if not at the end of the text

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19800

18 years agoOnly auto-insert the prefix if we are at the end of the text
Federico Mena Quintero [Thu, 13 Mar 2008 00:26:20 +0000 (00:26 +0000)]
Only auto-insert the prefix if we are at the end of the text

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19799

18 years agoFind the common prefix based on the cursor position
Federico Mena Quintero [Thu, 13 Mar 2008 00:25:50 +0000 (00:25 +0000)]
Find the common prefix based on the cursor position

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19798

18 years agoUpdated Slovak translation by Pavol Šimo.
Marcel Telka [Wed, 12 Mar 2008 20:45:48 +0000 (20:45 +0000)]
Updated Slovak translation by Pavol Šimo.

2008-03-12  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation by Pavol Šimo.

svn path=/trunk/; revision=19795

18 years agoRemove one extraneous space.
Tor Lillqvist [Wed, 12 Mar 2008 19:41:30 +0000 (19:41 +0000)]
Remove one extraneous space.

svn path=/trunk/; revision=19793

18 years agoBug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
Tor Lillqvist [Wed, 12 Mar 2008 19:34:38 +0000 (19:34 +0000)]
Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash

2008-03-12  Tor Lillqvist  <tml@novell.com>

Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash

* gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
for the TaskbarCreated message in the window procedure for the
dummy "tray observer" window we create. When we get a
TaskbarCreated message, iterate over the status icons and re-add
them to the task bar, and update them by calling
gtk_status_icon_update_image().

Move some ifdefs around to avoid unused functions.

svn path=/trunk/; revision=19792

18 years agoUpdate to match what configure produces.
Tor Lillqvist [Wed, 12 Mar 2008 18:53:03 +0000 (18:53 +0000)]
Update to match what configure produces.

2008-03-12  Tor Lillqvist  <tml@novell.com>

* config.h.win32.in: Update to match what configure produces.

svn path=/trunk/; revision=19791

18 years agoDon't define variables in the middle of a block. (#522067)
Jens Granseuer [Wed, 12 Mar 2008 18:37:39 +0000 (18:37 +0000)]
Don't define variables in the middle of a block. (#522067)

2008-03-12  Jens Granseuer  <jensgr@gmx.net>

* modules/printbackends/cups/gtkprintbackendcups.c:
(cups_printer_prepare_for_print): Don't define variables in the
middle of a block. (#522067)

svn path=/trunk/; revision=19789

18 years agoAdd an overwrite confirmation dialog for print-to-file. (#474302, Marek
Matthias Clasen [Wed, 12 Mar 2008 18:02:29 +0000 (18:02 +0000)]
Add an overwrite confirmation dialog for print-to-file. (#474302, Marek

2008-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
        dialog for print-to-file.  (#474302, Marek Kašík)

svn path=/trunk/; revision=19787

18 years agoFix a crash
Matthias Clasen [Wed, 12 Mar 2008 17:52:36 +0000 (17:52 +0000)]
Fix a crash

svn path=/trunk/; revision=19786

18 years agosv.po: Updated Swedish translation
Daniel Nylander [Wed, 12 Mar 2008 16:39:12 +0000 (16:39 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=19782

18 years agoDon't leak paper_size here. (#488820, Morten Welinder)
Matthias Clasen [Wed, 12 Mar 2008 16:37:51 +0000 (16:37 +0000)]
Don't leak paper_size here. (#488820, Morten Welinder)

2008-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
        paper_size here.  (#488820, Morten Welinder)

svn path=/trunk/; revision=19781

18 years agoremove this deprecated file.
Michael Natterer [Wed, 12 Mar 2008 14:05:23 +0000 (14:05 +0000)]
remove this deprecated file.

2008-03-12  Michael Natterer  <mitch@imendio.com>

* acconfig.h: remove this deprecated file.

* configure.in: added comments to all instances of AC_DEFINE() so
config.h can be completely generated from configure.in.

svn path=/trunk/; revision=19779

18 years agoinclude <glib/gstdio.h> for g_fopen().
Michael Natterer [Wed, 12 Mar 2008 11:12:37 +0000 (11:12 +0000)]
include <glib/gstdio.h> for g_fopen().

2008-03-12  Michael Natterer  <mitch@imendio.com>

* modules/printbackends/cups/gtkprintbackendcups.c: include
<glib/gstdio.h> for g_fopen().

svn path=/trunk/; revision=19775

18 years agoUpdated Telugu traslation done by Krishna Babu K <kkrothap@redhat.com>.
Sunil Mohan Adapa [Wed, 12 Mar 2008 06:27:16 +0000 (06:27 +0000)]
Updated Telugu traslation done by Krishna Babu K <kkrothap@redhat.com>.

2008-03-12  Sunil Mohan Adapa  <sunilmohan@fsf.org.in>

        * te.po: Updated Telugu traslation done by
        Krishna Babu K <kkrothap@redhat.com>.

svn path=/trunk/; revision=19769

18 years agoUse g_ascii_formatd when formatting custom paper sizes, since cups doesn't
Matthias Clasen [Wed, 12 Mar 2008 01:34:34 +0000 (01:34 +0000)]
Use g_ascii_formatd when formatting custom paper sizes, since cups doesn't

2008-03-11  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Use
        g_ascii_formatd when formatting custom paper sizes, since
        cups doesn't handle , as decimal separator.  (#521548)

svn path=/trunk/; revision=19762

18 years agoSet a GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while still
Claudio Saavedra [Tue, 11 Mar 2008 21:06:59 +0000 (21:06 +0000)]
Set a GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while still

2008-03-11  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

* io-bmp.c: (gdk_pixbuf__bmp_image_stop_load): Set a
GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while
still reading the headers.  (#505085)

svn path=/trunk/; revision=19757

18 years agoCheck for the BMP header magic numbers before decoding it. (#505085)
Claudio Saavedra [Tue, 11 Mar 2008 21:05:26 +0000 (21:05 +0000)]
Check for the BMP header magic numbers before decoding it. (#505085)

2008-03-11  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * io-bmp.c: (DecodeHeader): Check for the BMP header magic numbers
        before decoding it.  (#505085)

svn path=/trunk/; revision=19756

18 years agoBug 469868 - Filenames with colon ":" are not saved correctly
Tor Lillqvist [Tue, 11 Mar 2008 18:43:49 +0000 (18:43 +0000)]
Bug 469868 - Filenames with colon ":" are not saved correctly

2008-03-11  Tor Lillqvist  <tml@novell.com>

Bug 469868 - Filenames with colon ":" are not saved correctly

* gtk/gtkfilechooserentry.c (insert_text_callback)
(delete_text_callback) [Win32]: New functions to make sure that
colons used otherwise than as a separator after a drive letter, or
characters that are always illegal in file names, are rejected on
input. This means that the GTK+ file chooser can't be used to
input full names of alternate data streams, but oh well. There are
still more checks that could be done on the file names, see the
bug report. But this will do for now.
(_gtk_file_chooser_entry_init) [Win32]: Connect above functions.

svn path=/trunk/; revision=19753

18 years agoAdd the initial Valencian-Catalan translations.
Jordi Mallach [Tue, 11 Mar 2008 17:25:06 +0000 (17:25 +0000)]
Add the initial Valencian-Catalan translations.

svn path=/trunk/; revision=19752

18 years agoMinor Catalan corrections by Robert Millan.
Jordi Mallach [Tue, 11 Mar 2008 17:18:28 +0000 (17:18 +0000)]
Minor Catalan corrections by Robert Millan.

svn path=/trunk/; revision=19751

18 years agogdk/Makefile.am remove remaining linux-fb stuff.
Michael Natterer [Tue, 11 Mar 2008 17:15:59 +0000 (17:15 +0000)]
gdk/Makefile.am remove remaining linux-fb stuff.

2008-03-11  Michael Natterer  <mitch@imendio.com>

* gdk/Makefile.am
* gtk/framebuffer.sgml: remove remaining linux-fb stuff.

svn path=/trunk/; revision=19750

18 years agoremoved linux-fb backend files.
Michael Natterer [Tue, 11 Mar 2008 17:14:00 +0000 (17:14 +0000)]
removed linux-fb backend files.

2008-03-11  Michael Natterer  <mitch@imendio.com>

* gdk/linux-fb/*: removed linux-fb backend files.

* acconfig.h
* config.h.win32.in
* docs/README.linux-fb
* gtk/Makefile.am: remove remaining traces of linux-fb.

* gtk/gtkwindow-decorate.c: same here. There is some code that
calls into linux-fb to set window move/resize callbacks. I put it
in #if 0 as a reminder because we did use decorated windows with
the DirectFB backend and it did work, so I don't really know why
this code is needed or how it could work with DirectFB back then.
The file does actually compile now if DECORATE_WINDOWS is defined,
but I didn't test with DirectFB to check if it does anything.

svn path=/trunk/; revision=19749

18 years agoTake thickness into account in the size allocation of the child widgets in
Alberto Ruiz [Tue, 11 Mar 2008 13:46:37 +0000 (13:46 +0000)]
Take thickness into account in the size allocation of the child widgets in

2008-03-11  Alberto Ruiz  <aruiz@gnome.org>

* gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
Take thickness into account in the size allocation of the child widgets in
list mode.
Fixes #521442

svn path=/trunk/; revision=19747

18 years agoImplement gdk_window_reparent.
Richard Hult [Tue, 11 Mar 2008 10:14:47 +0000 (10:14 +0000)]
Implement gdk_window_reparent.

2008-03-11  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.

svn path=/trunk/; revision=19746

18 years agoAdd the possibility to test what happens if the process just calls exit()
Tor Lillqvist [Mon, 10 Mar 2008 19:28:34 +0000 (19:28 +0000)]
Add the possibility to test what happens if the process just calls exit()

2008-03-10  Tor Lillqvist  <tml@novell.com>

* tests/teststatusicon.c (do_exit, popup_menu): Add the
possibility to test what happens if the process just calls exit()
without any orderly cleanup of GTK+.

svn path=/trunk/; revision=19745

18 years agoRemove from SVN, finally.
Tor Lillqvist [Mon, 10 Mar 2008 18:35:29 +0000 (18:35 +0000)]
Remove from SVN, finally.

2008-03-10  Tor Lillqvist  <tml@novell.com>

* gtk/gtktrayicon-win32.c: Remove from SVN, finally.

svn path=/trunk/; revision=19744

18 years agoBug 520286 - Non-deletable window has no minimize / maximize buttons
Tor Lillqvist [Mon, 10 Mar 2008 15:48:06 +0000 (15:48 +0000)]
Bug 520286 - Non-deletable window has no minimize / maximize buttons

2008-03-10  Tor Lillqvist  <tml@novell.com>

Bug 520286 - Non-deletable window has no minimize / maximize buttons

* gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
New debugging output function that decodes a set of WS_* bits.

* gdk/win32/gdkprivate-win32.h: Declare it.

* gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
New function that enables or disables one menu entry in the system
menu of a top-level window. (The corresponding decoration will
then also be enabled or disabled (grayed).)

(update_style_bits): Do as the comment says and don't try to
update the window style based on the GdkWMFunctions set for the
window.

(update_system_menu): New function that enables or disables the
system menu entries based on a window's stored set of
GdkWMFunctions.

(gdk_window_set_functions): Call update_system_menu() instead of
update_style_bits().

svn path=/trunk/; revision=19743

18 years agoReword the 2.14 release notes entry about the deprecation of the
Emmanuele Bassi [Mon, 10 Mar 2008 14:22:13 +0000 (14:22 +0000)]
Reword the 2.14 release notes entry about the deprecation of the

2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>

* README.in: Reword the 2.14 release notes entry about the
deprecation of the gtkitemfactory.h header, and fix typos
and grammar.

svn path=/trunk/; revision=19742

18 years agoRevert #508760
Johan Dahlin [Sun, 9 Mar 2008 22:56:29 +0000 (22:56 +0000)]
Revert #508760

svn path=/trunk/; revision=19740

18 years agoUpdated Czech translation.
Petr Kovář [Sat, 8 Mar 2008 23:38:00 +0000 (23:38 +0000)]
Updated Czech translation.

svn path=/trunk/; revision=19738

18 years agoUpdated Occitan translation
Yannig MARCHEGAY [Sat, 8 Mar 2008 10:23:01 +0000 (10:23 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=19735

18 years agoDo not draw frame if parent if combobox. (draw_box): Uses scrollbar width
Alberto Ruiz [Sat, 8 Mar 2008 07:20:33 +0000 (07:20 +0000)]
Do not draw frame if parent if combobox. (draw_box): Uses scrollbar width

2008-03-08  Alberto Ruiz  <aruiz@gnome.org>

* modules/engines/ms-windows/msw_style.c (draw_shadow):
Do not draw frame if parent if combobox.
(draw_box):
Uses scrollbar width system metrics for combobox button.
Fixes #461805 for XP theme engine.

svn path=/trunk/; revision=19733

18 years ago- Treat enums like enums and not values - Avoid invalid free, in case of
Johan Dahlin [Fri, 7 Mar 2008 20:03:35 +0000 (20:03 +0000)]
- Treat enums like enums and not values - Avoid invalid free, in case of

2008-03-07  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkbuilder.c:
    * gtk/gtkbuilderparser.c:
    * gtk/gtkbuilderprivate.h:
    * gtk/gtkiconfactory.c:
    * tests/buildertest.c:
    - Treat enums like enums and not values
    - Avoid invalid free, in case of more than two sources
    - Add better error messages
    - Add much improved tests
    (#520979, Christian Persch)

svn path=/trunk/; revision=19732

18 years agoFix build.
Carlos Garnacho [Fri, 7 Mar 2008 11:13:47 +0000 (11:13 +0000)]
Fix build.

2008-03-07  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
        Fix build.

svn path=/trunk/; revision=19731

18 years agoFix ChangeLog
Federico Mena Quintero [Fri, 7 Mar 2008 04:07:55 +0000 (04:07 +0000)]
Fix ChangeLog

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19730

18 years agobgo505857 - GtkFileChooserDialog ensures its default response
Federico Mena Quintero [Fri, 7 Mar 2008 03:53:58 +0000 (03:53 +0000)]
bgo505857 - GtkFileChooserDialog ensures its default response

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19727

18 years agoImplement GtkBuildable on GtkIconFactory, to make it possible to register
Johan Dahlin [Fri, 7 Mar 2008 00:08:16 +0000 (00:08 +0000)]
Implement GtkBuildable on GtkIconFactory, to make it possible to register

2008-03-06  Johan Dahlin  <jdahlin@async.com.br>

    * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
    * gtk/gtkbuilder.c:
    * gtk/gtkbuilderprivate.h:
    * gtk/gtkiconfactory.c:
    * tests/buildertest.c:
    Implement GtkBuildable on GtkIconFactory, to make
    it possible to register custom stock icons.
    Fixes #517066

svn path=/trunk/; revision=19726

18 years agoMake gtk-doc happy:
Johan Dahlin [Thu, 6 Mar 2008 23:21:26 +0000 (23:21 +0000)]
Make gtk-doc happy:

2008-03-06  Johan Dahlin  <johan@gnome.org>

    Make gtk-doc happy:

    * gtk/gtkstyle.c: npoints->n_points.
    * gtk/gtktestutils.h: widget->spinner
    * gtk/gtktestutils.c: argc->argcp, argv->argvp

svn path=/trunk/; revision=19725

18 years agoOops, forgot to make the raw "%H:%M" string localizable (as it should be).
William Rikard Lachance [Thu, 6 Mar 2008 19:57:55 +0000 (19:57 +0000)]
Oops, forgot to make the raw "%H:%M" string localizable (as it should be).

svn path=/trunk/; revision=19724

18 years agoDon't print "Today at" in front of the time for today's date. It's
William Rikard Lachance [Thu, 6 Mar 2008 19:43:22 +0000 (19:43 +0000)]
Don't print "Today at" in front of the time for today's date. It's
redudant. (see bug #410517).

svn path=/trunk/; revision=19723

18 years agofix typo in documentation.
Xan Lopez [Thu, 6 Mar 2008 19:14:17 +0000 (19:14 +0000)]
fix typo in documentation.

2008-03-06  Xan Lopez  <xan@gnome.org>

* gtk/gtkfixed.c: fix typo in documentation.

svn path=/trunk/; revision=19722

18 years agoMove GtkTranslateFunc to gtktypeutils.h so we can completely deprecate
Johan Dahlin [Thu, 6 Mar 2008 14:04:30 +0000 (14:04 +0000)]
Move GtkTranslateFunc to gtktypeutils.h so we can completely deprecate

2008-03-06  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkitemfactory.h:
    * gtk/gtktypeutils.h:
    Move GtkTranslateFunc to gtktypeutils.h so we can completely
    deprecate gtkitemfactory.h.

    * gtk/gtkactiongroup.h:
    * gtk/gtkstock.h:
    Do not include gtkitemfactory.h directly, instead include gtktypeutils.h

    * README.in:
    Add a note describing this slight incompatible change

svn path=/trunk/; revision=19721

18 years agoAvoid double-deprecation.
Johan Dahlin [Thu, 6 Mar 2008 13:43:26 +0000 (13:43 +0000)]
Avoid double-deprecation.

2008-03-06  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkpreview.h: Avoid double-deprecation.

svn path=/trunk/; revision=19720

18 years agogtk/gtk.h move the remaining deprecated widgets to the separate sections
Michael Natterer [Thu, 6 Mar 2008 10:51:16 +0000 (10:51 +0000)]
gtk/gtk.h move the remaining deprecated widgets to the separate sections

2008-03-06  Michael Natterer  <mitch@imendio.com>

* gtk/gtk.h
* gtk/Makefile.am: move the remaining deprecated widgets to the
separate sections and replaced spaces by tabs in Makefile.am

svn path=/trunk/; revision=19719

18 years agoAdd --disable-cups option. (#513826, Alberto Ruiz)
Johan Dahlin [Wed, 5 Mar 2008 16:43:10 +0000 (16:43 +0000)]
Add --disable-cups option. (#513826, Alberto Ruiz)

2008-03-05  Johan Dahlin  <johan@gnome.org>

    * configure.in: Add --disable-cups option.
    (#513826, Alberto Ruiz)

svn path=/trunk/; revision=19715

18 years agoSeparate broken and deprecated sources and headers into different sections
Johan Dahlin [Wed, 5 Mar 2008 15:36:41 +0000 (15:36 +0000)]
Separate broken and deprecated sources and headers into different sections

2008-03-05  Johan Dahlin  <johan@gnome.org>

    * gtk/gtk.h:
    * gtk/Makefile.am:
    Separate broken and deprecated sources and headers into different sections

svn path=/trunk/; revision=19714

18 years agoRestore accidentally broken test.
Johan Dahlin [Wed, 5 Mar 2008 15:02:25 +0000 (15:02 +0000)]
Restore accidentally broken test.

2008-03-05  Johan Dahlin  <johan@gnome.org>

    * tests/buildertest.c (test_list_store): Restore accidentally broken test.

svn path=/trunk/; revision=19713

18 years agoshort-circuit in case an empty root level would be build (and thus
Kristian Rietveld [Wed, 5 Mar 2008 10:36:35 +0000 (10:36 +0000)]
short-circuit in case an empty root level would be build (and thus

2008-03-05  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
short-circuit in case an empty root level would be build (and thus
directly destroyed) if no virtual root has been set.

svn path=/trunk/; revision=19712

18 years agoHonor cups user default options from ~/.cups/lpoptions (#469210, Stijn
Matthias Clasen [Wed, 5 Mar 2008 03:45:41 +0000 (03:45 +0000)]
Honor cups user default options from ~/.cups/lpoptions (#469210, Stijn

2008-03-04  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c:
        Honor cups user default options from ~/.cups/lpoptions
        (#469210, Stijn Hoop)

svn path=/trunk/; revision=19710

18 years agoUpdated German translation.
Hendrik Richter [Tue, 4 Mar 2008 19:02:04 +0000 (19:02 +0000)]
Updated German translation.

2008-03-04  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=19709

18 years agogtk/gtkcellview.c gtk/gtkcolorbutton.c gtk/gtkentrycompletion.c
Michael Natterer [Tue, 4 Mar 2008 12:49:40 +0000 (12:49 +0000)]
gtk/gtkcellview.c gtk/gtkcolorbutton.c gtk/gtkentrycompletion.c

2008-03-04  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcellview.c
* gtk/gtkcolorbutton.c
* gtk/gtkentrycompletion.c
* gtk/gtkfontbutton.c
* gtk/gtkiconview.c
* gtk/gtkobject.c
* gtk/gtkpaned.c
* gtk/gtkpreview.c: don't include "gtksignal.h".

* gtk/gtkfilefilter.c
* gtk/gtkrecentchoosermenu.c
* gtk/gtkrecentfilter.c
* gtk/gtktext.c: don't include "gtkobject.h".

svn path=/trunk/; revision=19708

18 years agoFix #321896 - Synch gtkimcontextsimple.c with Xorg
Simos Xenitellis [Tue, 4 Mar 2008 11:21:48 +0000 (11:21 +0000)]
Fix #321896 - Synch gtkimcontextsimple.c with Xorg

svn path=/trunk/; revision=19706

18 years agoRemove spurious character in ChangeLog
Federico Mena Quintero [Tue, 4 Mar 2008 01:04:46 +0000 (01:04 +0000)]
Remove spurious character in ChangeLog

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19705

18 years agobgo417389 - Scrollwheel for GtkPathBar
Carlos Garnacho [Mon, 3 Mar 2008 21:15:21 +0000 (21:15 +0000)]
bgo417389 - Scrollwheel for GtkPathBar
2008-03-03  Carlos Garnacho  <carlos@imendio.com>

Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
scrollwheel work in GtkPathBar.

* gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.

* gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
an input-only window, event_window, which we'll use to capture
scroll events.
(gtk_path_bar_map): Show the event_window under the rest of the
windows, so it will be a catch-all for unhandled events.

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19699

18 years agofixed a typo in the documentation of the GtkFileChooserButtons::file-set
Sven Neumann [Mon, 3 Mar 2008 12:35:43 +0000 (12:35 +0000)]
fixed a typo in the documentation of the GtkFileChooserButtons::file-set

2008-03-03  Sven Neumann  <sven@gimp.org>

* gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
typo in the documentation of the GtkFileChooserButtons::file-set
signal (see bug #353196).

svn path=/trunk/; revision=19696

18 years agoAdd gail bits. Simplify check for message catalog location.
Tor Lillqvist [Mon, 3 Mar 2008 01:27:43 +0000 (01:27 +0000)]
Add gail bits. Simplify check for message catalog location.

2008-03-03  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
location.

svn path=/trunk/; revision=19695

18 years agoUse void instead of empty arguments. (#508760, Philip Van Hoof)
Johan Dahlin [Mon, 3 Mar 2008 01:22:54 +0000 (01:22 +0000)]
Use void instead of empty arguments. (#508760, Philip Van Hoof)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkitemfactory.h: Use void instead of empty arguments.
    (#508760, Philip Van Hoof)

svn path=/trunk/; revision=19694

18 years agoRemove left-over focus_pad variable. (#490892, Claudio Saavedra)
Johan Dahlin [Mon, 3 Mar 2008 01:13:07 +0000 (01:13 +0000)]
Remove left-over focus_pad variable. (#490892, Claudio Saavedra)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkiconview.c (gtk_icon_view_paint_item):
    Remove left-over focus_pad variable.
    (#490892, Claudio Saavedra)

svn path=/trunk/; revision=19693

18 years agoRemove an extra space and swap word order (#518166, Matt Kraai)
Johan Dahlin [Mon, 3 Mar 2008 01:06:16 +0000 (01:06 +0000)]
Remove an extra space and swap word order (#518166, Matt Kraai)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
    (#518166, Matt Kraai)

svn path=/trunk/; revision=19692

18 years agoAdd a missing space (#517954, Matt Kraai)
Johan Dahlin [Mon, 3 Mar 2008 01:04:26 +0000 (01:04 +0000)]
Add a missing space (#517954, Matt Kraai)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * docs/tutorial/gtk-tut.sgml: Add a missing space
    (#517954, Matt Kraai)

svn path=/trunk/; revision=19691

18 years agoCheck that the widget is a GtkButton before casting.
Tor Lillqvist [Sun, 2 Mar 2008 19:51:00 +0000 (19:51 +0000)]
Check that the widget is a GtkButton before casting.

2008-03-03  Tor Lillqvist  <tml@novell.com>

* modules/engines/ms-windows/msw_style.c (draw_box): Check that
the widget is a GtkButton before casting.

svn path=/trunk/; revision=19690

18 years agoCompare using = instead of ==, which is portable. (#490787, Thomas
Johan Dahlin [Sun, 2 Mar 2008 18:08:50 +0000 (18:08 +0000)]
Compare using = instead of ==, which is portable. (#490787, Thomas

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * configure.in: Compare using = instead of ==, which is portable.
    (#490787, Thomas Klausner)

svn path=/trunk/; revision=19689

18 years agoRemove autotestkeywords, it's added later, fixes non-C++ build. (#496032,
Johan Dahlin [Sun, 2 Mar 2008 17:19:52 +0000 (17:19 +0000)]
Remove autotestkeywords, it's added later, fixes non-C++ build. (#496032,

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
    fixes non-C++ build.
    (#496032, Nelson Benitez)

svn path=/trunk/; revision=19688

18 years agoTranslation updated by Ivar Smolin
Priit Laes [Sun, 2 Mar 2008 15:31:49 +0000 (15:31 +0000)]
Translation updated by Ivar Smolin

2008-03-02  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=19687

18 years agoAdd translatable/context and comment attributes on <col> tags under a
Johan Dahlin [Sun, 2 Mar 2008 01:14:48 +0000 (01:14 +0000)]
Add translatable/context and comment attributes on <col> tags under a

2008-02-29  Johan Dahlin  <johan@gnome.org>

* demos/gtk-demo/demo.ui:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
* gtk/gtkliststore.c:
* tests/buildertest.c:
Add translatable/context and comment attributes on
<col> tags under a GtkListStore. Refactor parts of the
translation api and make it available inside gtk+ itself.
Update tests and example.
Fixes a part of #518642

svn path=/trunk/; revision=19685

18 years agoAdd missing g_return_val_if_fail checks for public API.
Johan Dahlin [Sat, 1 Mar 2008 16:47:34 +0000 (16:47 +0000)]
Add missing g_return_val_if_fail checks for public API.

2008-02-29  Johan Dahlin  <johan@gnome.org>

* gtk/gtkbuilder.c:
Add missing g_return_val_if_fail checks for public API.

svn path=/trunk/; revision=19684

18 years agoDo not use g_error for a few more errors, instead set the GError sent in
Johan Dahlin [Sat, 1 Mar 2008 13:49:06 +0000 (13:49 +0000)]
Do not use g_error for a few more errors, instead set the GError sent in

2008-02-29  Johan Dahlin  <johan@gnome.org>

* gtk/gtkbuilder.c:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
Do not use g_error for a few more errors, instead set
the GError sent in through add_from_file/add_from_string.
* tests/buildertest.c:
Add a couple of new parsing tests.
(#519199, Pavel Syomin)

svn path=/trunk/; revision=19681

18 years agoWhen refreshing an existing unix folder, turn off its is_finished_loading state
Federico Mena Quintero [Sat, 1 Mar 2008 02:32:09 +0000 (02:32 +0000)]
When refreshing an existing unix folder, turn off its is_finished_loading state

2008-02-29  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
refreshing an existing folder (i.e. when we are about to reload
its file list), turn off the folder's is_finished_loading flag.
Otherwise callers which do ::is_finished_loading() followed by
::list_children() will get nothing.

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19677

18 years agoFix tutorial documentation to say 'gtk_main_quit()' instead of
Cody Russell [Fri, 29 Feb 2008 19:27:16 +0000 (19:27 +0000)]
Fix tutorial documentation to say 'gtk_main_quit()' instead of

2008-02-29  Cody Russell  <bratsche@gnome.org>

        * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
        say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)

svn path=/trunk/; revision=19676

18 years agoFixes bug in Russian translation
Nickolay V. Shmyrev [Thu, 28 Feb 2008 23:50:17 +0000 (23:50 +0000)]
Fixes bug in Russian translation

svn path=/trunk/; revision=19673

18 years agoRemove trailing comma from enum to make the compiler happy. (#517295,
Matthias Clasen [Thu, 28 Feb 2008 05:41:56 +0000 (05:41 +0000)]
Remove trailing comma from enum to make the compiler happy. (#517295,

2008-02-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcalendar.h: Remove trailing comma from enum to
        make the compiler happy.  (#517295, Sylvain Pasche)

svn path=/trunk/; revision=19671

18 years agogtk/gtkmenushell.c gtk/gtktable.c gtk/gtktext.c gtk/gtktipsquery.c
Michael Natterer [Wed, 27 Feb 2008 11:30:10 +0000 (11:30 +0000)]
gtk/gtkmenushell.c gtk/gtktable.c gtk/gtktext.c gtk/gtktipsquery.c

2008-02-27  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenushell.c
* gtk/gtktable.c
* gtk/gtktext.c
* gtk/gtktipsquery.c
* gtk/gtktoolbar.c
* gtk/gtktreeitem.c
* gtk/gtktreeview.c
* gtk/gtkviewport.c
* gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
private functions and virtual function implementations.

svn path=/trunk/; revision=19668

18 years agoFix performance regression for borderless transparent windows with shadow.
Richard Hult [Wed, 27 Feb 2008 10:49:22 +0000 (10:49 +0000)]
Fix performance regression for borderless transparent windows with shadow.

2008-02-27  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzView.c:
* gdk/quartz/GdkQuartzView.h:
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
Fix performance regression for borderless transparent windows
with shadow.

svn path=/trunk/; revision=19666

18 years agoRevert back to r19454.
Emmanuele Bassi [Wed, 27 Feb 2008 10:31:24 +0000 (10:31 +0000)]
Revert back to r19454.

2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>

* tests/testgtk.c: Revert back to r19454.

svn path=/trunk/; revision=19665

18 years agowhen building the Quartz backend, use a native Mac OS X application for
Sven Neumann [Wed, 27 Feb 2008 09:58:49 +0000 (09:58 +0000)]
when building the Quartz backend, use a native Mac OS X application for

2008-02-27  Sven Neumann  <sven@gimp.org>

* gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
Quartz backend, use a native Mac OS X application for the print
preview (bug #518624).

svn path=/trunk/; revision=19663

18 years agodon't g_free() the members of info->tag_stack since they are a) gobjects
Michael Natterer [Tue, 26 Feb 2008 14:20:08 +0000 (14:20 +0000)]
don't g_free() the members of info->tag_stack since they are a) gobjects

2008-02-26  Michael Natterer  <mitch@imendio.com>

* gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
the members of info->tag_stack since they are a) gobjects and b)
not even owned by us, ugh... Fixes crash when deserializing fails.

svn path=/trunk/; revision=19657